# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pokebase
pkgver=1.3.0
pkgrel=2
pkgdesc="A Python wrapper for the friendly PokeAPI database"
url="https://github.com/GregHilmes/pokebase"
arch="noarch"
license="BSD-3-Clause"
depends="
	py3-certifi
	py3-chardet
	py3-idna
	py3-requests
	py3-urllib3
	python3
	"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/p/pokebase/pokebase-$pkgver.tar.gz"
options="!check" # No tests in pypi package
builddir="$srcdir/pokebase-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2aa64effd3418054a86b0f265ff1517d175b67b9401ba5cd9155c76c1d5760feb10230b9598158482d0fa3497224b645eb9514d4cf3306fe1b09edba9d827130  pokebase-1.3.0.tar.gz"
